package com.naja.event.tracking.extract.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @auther wangjianying
 * @date 2023/09/19 10:02
 */
@ConfigurationProperties(prefix = EventBase2BizExtractProperties.PROPERTIES_PREFIX)
@Component
@RefreshScope
public class EventBase2BizExtractProperties {
    public static final String PROPERTIES_PREFIX = "tracking.extract.base2biz";
    private Map<String, EventBase2BizExtractObserverProperties> observer;

    public Map<String, EventBase2BizExtractObserverProperties> getObserver() {
        return observer;
    }

    public void setObserver(Map<String, EventBase2BizExtractObserverProperties> observer) {
        this.observer = observer;
    }
}
